KeyEventParams

public interface KeyEventParams implements UiEventModifierParams

The DOM keyboard event parameters.

Types

Link copied to clipboard
public final class Builder
A builder of KeyEventParams.

Functions

Link copied to clipboard
public String character()
Returns a UTF-8 character associated with the physical key, if it has a printed representation.
Link copied to clipboard
public DomKeyCode domKeyCode()
Returns the code of the physical key used in the event.
Link copied to clipboard
public boolean isBubbles()
Returns true if the event bubbles up through the DOM.
Link copied to clipboard
public boolean isCancelable()
Returns true if the event can be canceled, and therefore prevented as if the event never happened.
Link copied to clipboard
public boolean isTrusted()
Returns true if the event is trusted, and therefore was generated by a user action.
Link copied to clipboard
Returns the key modifiers that are applied to the event.
Link copied to clipboard
Creates a new KeyEventParams builder.